package org.ssssssss.curd.pojo;

/**
 * 表列元信息
 */
public class TableColumn {

    /**
     * 列名
     */
    private String columnName;
    /**
     * 默认值
     */
    private Object columnDefault;
    /**
     * 数据类型
     */
    private String dataType;
    /**
     * 列类型
     */
    private String columnType;
    /**
     * 列注释
     */
    private String columnComment;
    /**
     * 列 key
     */
    private String columnKey;
    /**
     * 是否是主键
     */
    private Boolean isPrimary;

    public Boolean getPrimary() {
        return isPrimary;
    }

    public void setPrimary(Boolean primary) {
        isPrimary = primary;
    }

    public String getColumnKey() {
        return columnKey;
    }

    public void setColumnKey(String columnKey) {
        this.columnKey = columnKey;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public Object getColumnDefault() {
        return columnDefault;
    }

    public void setColumnDefault(Object columnDefault) {
        this.columnDefault = columnDefault;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getColumnComment() {
        return columnComment;
    }

    public void setColumnComment(String columnComment) {
        this.columnComment = columnComment;
    }
}
